package eu.jakubiak.patches.google.ajaxapi.helpers
{
	import be.boulevart.google.apicore.GoogleApiKeyStore;
	
	import flash.net.URLVariables;
	
	public dynamic class URLVariablesWithKey extends URLVariables
	{
		public function URLVariablesWithKey(source:String=null)
		{
			super(source);
			if ( ! (GoogleApiKeyStore.API_KEY == "" || GoogleApiKeyStore.API_KEY == "<insert API key here>") ){
				this.key = GoogleApiKeyStore.API_KEY;
			}
		}
	}
}